package cn.jinjimi.app.entity;

import java.util.List;

public class UserProfiles {

    public static final int GENDER_MALE = 1;
    public static final int GENDER_FEMALE = 0;
    public static final int GENDER_UNKNOWN = 2;

    private String ssoId;

    private String realName;

    private String phone;

    private String cityId;

    private String cityName;

    private String companyName;

    private int companyId;

    private String provinceId;

    private String provinceName;

    private Avatar avatar_map;

    private String domain;

    private SiteVisit visit;

    private String openSite;

    private int gender;

    private String bio;

    private int has_active_site;

    private int isVip;

    private int active_im_status;

    private List<String> tags;

    private String qq;

    private String wx_no;

    private int honors;

    private long chatUserId;

    public UserMobileInfo getUserMobileInfo() {
        return userMobileInfo;
    }

    public void setUserMobileInfo(UserMobileInfo userMobileInfo) {
        this.userMobileInfo = userMobileInfo;
    }

    private UserMobileInfo userMobileInfo;

    public Avatar getAvatar_map() {
        return avatar_map;
    }

    public void setAvatar_map(Avatar avatar_map) {
        this.avatar_map = avatar_map;
    }

    public int getHas_active_site() {
        return has_active_site;
    }

    public void setHas_active_site(int has_active_site) {
        this.has_active_site = has_active_site;
    }

    public int getActive_im_status() {
        return active_im_status;
    }

    public void setActive_im_status(int active_im_status) {
        this.active_im_status = active_im_status;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public void setIsVip(int isVip) {
        this.isVip = isVip;
    }

    public int getIsVip() {
        return isVip;
    }

    public String getBio() {
        return bio;
    }

    public void setBio(String bio) {
        this.bio = bio;
    }

    public List<String> getTags() {
        return tags;
    }

    public void setTags(List<String> tags) {
        this.tags = tags;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    private String account;

    public String getOpenSite() {
        return openSite;
    }

    public void setOpenSite(String openSite) {
        this.openSite = openSite;
    }

    public SiteVisit getVisit() {
        return visit;
    }

    public void setVisit(SiteVisit visit) {
        this.visit = visit;
    }

    public String getSsoId() {
        return ssoId;
    }

    public void setSsoId(String ssoId) {
        this.ssoId = ssoId;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public int getCompanyId() {
        return companyId;
    }

    public void setCompanyId(int companyId) {
        this.companyId = companyId;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public String getWx_no() {
        return wx_no;
    }

    public void setWx_no(String wx_no) {
        this.wx_no = wx_no;
    }

    public String getTagStrings(){
        String tagStr = "";
        if(getTags()!=null && getTags().size()>0){
            for (String tag:getTags()){
                tagStr += tag+";";
            }
            tagStr = tagStr.substring(0,tagStr.length()-1);
        }
        return tagStr;
    }

    public int getHonor() {
        return honors;
    }

    public void setHonor(int honors) {
        this.honors = honors;
    }

    public long getChatUserId() {
        return chatUserId;
    }

    public void setChatUserId(long chatUserId) {
        this.chatUserId = chatUserId;
    }

    @Override
    public String toString() {
        return "UserProfiles{" +
                "ssoId='" + ssoId + '\'' +
                ", realName='" + realName + '\'' +
                ", phone='" + phone + '\'' +
                ", cityId='" + cityId + '\'' +
                ", cityName='" + cityName + '\'' +
                ", companyName='" + companyName + '\'' +
                ", provinceId='" + provinceId + '\'' +
                ", provinceName='" + provinceName + '\'' +
                ", avatar_map=" + avatar_map +
                ", domain='" + domain + '\'' +
                ", visit=" + visit +
                ", openSite='" + openSite + '\'' +
                ", gender=" + gender +
                ", bio='" + bio + '\'' +
                ", has_active_site=" + has_active_site +
                ", isVip=" + isVip +
                ", active_im_status=" + active_im_status +
                ", tags=" + tags +
                ", qq='" + qq + '\'' +
                ", wx_no='" + wx_no + '\'' +
                ", account='" + account + '\'' +
                '}';
    }


}
